package win.itshen.cloud.shiro.modules.admin.service;

import win.itshen.cloud.shiro.modules.admin.entity.UserOnline;

import java.util.List;

/**
 * @author: stephen.shen
 * @create: 2019-05-23 11:46
 */
public interface SessionService {

    /**
     * 用户
     * @return
     */
    List<UserOnline> list();

    /**
     * 强制退出
     * @param sessionId
     * @return
     */
    boolean forceLogout(String sessionId);
}
